package com.yueyang.sojourn.server.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author yemingxing
 * @summary
 * @Copyright (c) 2020, Yueyang Group All Rights Reserved.
 * @since 2020-02-29 15:58
 */
@Data
@ApiModel("楼层信息")
public class SojournLayoutVo {

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String title;

    /**
     * 副标题
     */
    @ApiModelProperty("副标题")
    private String subtitle;

    /**
     * 楼层类型
     */
    private Integer type;

    /**
     * 楼层位置排序，数字越大越靠前
     */
    private Integer sort;

    /**
     * 模板1：关联项目
     */
    @ApiModelProperty("模板1：关联项目")
    private List<SojournProjectVo> projects;

    @ApiModelProperty("模板2：商品分类名称")
    private List<SojournLayoutMerchKindVo> merchKinds;
}